package com.dukuai.search;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;

import org.apache.lucene.document.Document;
import org.apache.lucene.document.Field;
import org.apache.lucene.index.IndexWriter;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );
    }
    private static void indexFile(IndexWriter writer,File f) throws FileNotFoundException{
    	Document doc=new Document();
    	doc.add(new Field("",new FileReader(f)));
    }
}
